<?php 

header("Content-type: text/html; charset=utf-8");

$data = include './db.php';
array_push($data, $_POST);
$str = var_export($data,true);
$str = "<?php return ".$str." ?>";
file_put_contents('./db.php', $str);


 ?>